package org.dromara.business.domain.bo;

import org.dromara.business.domain.Music;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 音乐业务对象 music
 *
 * @author Lion Li
 * @date 2025-01-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = Music.class, reverseConvertGenerate = false)
public class MusicBo extends BaseEntity {
    private Long Id;
    /**
     * 路径
     */
    @NotBlank(message = "路径不能为空", groups = { AddGroup.class, EditGroup.class })
    private String url;


}
